#include "stdafx.h"
#include "Course.h"
#include <iostream>

Course::Course()
{
}

Course::Course(const std::string &ci, const std::string &t,const std::string &ti)
{
	courseId = ci;
	title = t;
	teacherId = ti;
}


std::string Course::getCourseId()
{
	return courseId;
}

void Course::setCourseId(const std::string & i)
{
	courseId = i;
}

std::string Course::getTitle()
{
	return title;
}

void Course::setTitle(const std::string & na)
{
	title = na;

}

std::string Course::getTeacherId()
{
	return teacherId;
}

void Course::setTeacherId(const std::string & i)
{
	teacherId = i;
}

void Course::show() const
{
	using std::cout;
	using std::endl;
	cout << "*course_id:" << courseId << ", title:" << title << ", teacher_Id:" << teacherId << endl;

}


Course::~Course()
{
}
